﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.ProductionPlans
{
    /// <summary>
    /// 物品表实体
    /// </summary>
    [Table("GoodsInfo")]
    public class GoodsInfo: BaseEntity
    {
        /// <summary>
        ///序号
        /// </summary>
        public int GoodCode {  get; set; }
        /// <summary>
        /// 物品编号
        /// </summary>
        public string GoodNumber {  get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string GoodName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel {  get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit {  get; set; }
        /// <summary>
        /// 物品分类
        /// </summary>
        public string GoodType {  get; set; }
        /// <summary>
        /// 物品概述
        /// </summary>
        public string GoodOverview {  get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand {  get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Number {  get; set; }
        /// <summary>
        /// 计划开始日期 
        /// </summary>
        public DateTime StartDate {  get; set; }
        /// <summary>
        /// 计划结束日期 
        /// </summary>
        public DateTime EndDate {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 销售Id(根据不同的销售信息显示不同的物品信息)
        /// </summary>
        public long SalesId {  get; set; }
    }
}
